 <template>
  <div class="main-title  position-absolute flex">
  <div class="back  " @click="handleClick" v-if="showBack">
    <img src="../assets/img/icon_back.png" alt="" />
  </div>
 
  <searchConpmay v-if="showSearch"></searchConpmay>

  </div>
 
</template>
<script>
import { dateFormat, GetLunarDay, getWeekDay, dealWithTime } from "./date";
import searchConpmay from './searchCompany' 
export default {
  name: "back",
  data() {
    return {};
  },
  props:{
    showBack:{
      default:true,
      type:Boolean
    },
    showSearch:{
      default:false,
      type:Boolean
    }
  },
  components:{
    searchConpmay
  },
  mounted() {},

  methods: {
    handleClick(){
      this.$router.go(-1);
    }
  },
};
</script>
<style lang="stylus" scoped>
.main-title{

  top: 40px;
  left: 25px;
}
.back {
  width: 122px;
  height: 55px; 
  img {
    width: 122px;
    height: 55px;
  }
}
.top-tip {  
  
  background-size: 100% 74px;
  overflow: hidden;

  .font24 {
  
   
  }
}
.btnbg {
  width: 76px;
  height: 54px;
  background: url('../assets/img/company/Bg.png') no-repeat;
  background-size: 76px 54px;
  cursor: pointer;
}

</style>
